/**
 * 
 */
package net.sf.cldsql.dj.db;

import java.sql.Connection;
import java.util.HashMap;

/**
 * DbConnection
 */
public class DbConnection {
    private Connection conn;
    private ConnPool pool;
    private HashMap<String, Object> diagDict = new HashMap<String, Object>();

    public DbConnection(Connection conn, ConnPool pool) {
        this.conn = conn;
        this.pool = pool;
    }

    /** @return conn */
    public Connection getConn() {
        return conn;
    }

    /** @return pool */
    public ConnPool getPool() {
        return pool;
    }

    /** @return diagDict */
    public HashMap<String, Object> getDiagDict() {
        return diagDict;
    }

}
